import request from '@/utils/request'

export default{

    add: async (opts) => await request.post('/tenant',opts),
    getList: async (cond) => await request.get('/tenant/list',{params: cond}),  
    getDetail: async (id) => await request.get('/tenant?id=' + id),
    put: async (id,opts) => await request.put('/tenant?id=' + id,opts),
}